package org.fatmansoft.teach.Repository.ViewRepository.HonorInfo;

import org.fatmansoft.teach.entity.ViewEntity.HonorInfo.EHonorType;
import org.fatmansoft.teach.entity.ViewEntity.HonorInfo.HonorType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface HonorTypeRepository extends JpaRepository<HonorType, Integer> {
    HonorType findByName(EHonorType name);
}
